package com.pan.admin.module.loanProduct.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;

import java.math.BigDecimal;


/**
 * 产品对象 loan_product
 *
 * @author ts
 * @date 2023-09-12
 */
public class LoanProduct extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String name;

    /**
     * 分组词
     */
    @Excel(name = "分组词")
    private String groupingWords;

    /**
     * 产品类型(0线下机构，1全国机构)
     */
    @Excel(name = "产品类型(0线下机构，1全国机构)")
    private String type;

    /**
     * 状态0禁用1启用(默认启用)
     */
    private Integer status;

    /**
     * 匹配额度
     */
    @Excel(name = "匹配额度")
    private String textMatch;

    /**
     * 最高额度
     */
    @Excel(name = "最高额度")
    private String textMax;

    /**
     * 额度范围
     */
    @Excel(name = "额度范围")
    private String textRange;

    /**
     * 年利率
     */
    @Excel(name = "年利率")
    private String textAnnualRate;

    /**
     * 月利率
     */
    @Excel(name = "月利率")
    private String textMonthlyRate;

    /**
     * 贷款期限
     */
    @Excel(name = "贷款期限")
    private String textTerm;

    /**
     * 利率文案(文本内容)
     */
    @Excel(name = "利率文案(文本内容)")
    private String textDoc;

    /**
     * 第三方联合登陆接口地址
     */
    @Excel(name = "第三方联合登陆接口地址")
    private String apiLogin;

    /**
     * 第三方撞库接口地址
     */
    private String apiDataExchange;
    /**
     * 第三方撞库接口地址（测试）
     */
    private String apiDataExchangeTest;
    /**
     * 机构进件地址
     */
    private String apiApplyUrl;
    /**
     * 机构进件地址（测试）
     */
    private String apiApplyUrlTest;

    /**
     * 联系人姓名
     */
    private String contactName;

    /**
     * 联系人电话
     */
    private String contactPhone;

    /**
     * 联系方式
     */
    private String contactType;

    /**
     * 机构剩余账户余额
     */
    private BigDecimal balance;

    /**
     * 低余额提醒
     */
    private BigDecimal lowBalanceAlert;

    private Long dataScopeUserId;

    /** 主体类型(逻辑判断-非数据库字段) */
    private Integer productType;

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setTextMatch(String textMatch) {
        this.textMatch = textMatch;
    }

    public String getTextMatch() {
        return textMatch;
    }

    public void setTextMax(String textMax) {
        this.textMax = textMax;
    }

    public String getTextMax() {
        return textMax;
    }

    public void setTextRange(String textRange) {
        this.textRange = textRange;
    }

    public String getTextRange() {
        return textRange;
    }

    public void setTextAnnualRate(String textAnnualRate) {
        this.textAnnualRate = textAnnualRate;
    }

    public String getTextAnnualRate() {
        return textAnnualRate;
    }

    public void setTextMonthlyRate(String textMonthlyRate) {
        this.textMonthlyRate = textMonthlyRate;
    }

    public String getTextMonthlyRate() {
        return textMonthlyRate;
    }

    public void setTextTerm(String textTerm) {
        this.textTerm = textTerm;
    }

    public String getTextTerm() {
        return textTerm;
    }

    public void setTextDoc(String textDoc) {
        this.textDoc = textDoc;
    }

    public String getTextDoc() {
        return textDoc;
    }

    public void setApiLogin(String apiLogin) {
        this.apiLogin = apiLogin;
    }

    public String getApiLogin() {
        return apiLogin;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactType() {
        return contactType;
    }

    public void setContactType(String contactType) {
        this.contactType = contactType;
    }

    public String getApiDataExchange() {
        return apiDataExchange;
    }

    public void setApiDataExchange(String apiDataExchange) {
        this.apiDataExchange = apiDataExchange;
    }

    public String getApiDataExchangeTest() {
        return apiDataExchangeTest;
    }

    public void setApiDataExchangeTest(String apiDataExchangeTest) {
        this.apiDataExchangeTest = apiDataExchangeTest;
    }

    public String getApiApplyUrl() {
        return apiApplyUrl;
    }

    public void setApiApplyUrl(String apiApplyUrl) {
        this.apiApplyUrl = apiApplyUrl;
    }

    public String getApiApplyUrlTest() {
        return apiApplyUrlTest;
    }

    public void setApiApplyUrlTest(String apiApplyUrlTest) {
        this.apiApplyUrlTest = apiApplyUrlTest;
    }

    public String getGroupingWords() {
        return groupingWords;
    }

    public void setGroupingWords(String groupingWords) {
        this.groupingWords = groupingWords;
    }

    public Long getDataScopeUserId() {
        return dataScopeUserId;
    }

    public void setDataScopeUserId(Long dataScopeUserId) {
        this.dataScopeUserId = dataScopeUserId;
    }

    public BigDecimal getLowBalanceAlert() {
        return lowBalanceAlert;
    }

    public void setLowBalanceAlert(BigDecimal lowBalanceAlert) {
        this.lowBalanceAlert = lowBalanceAlert;
    }
}
